<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="renderer" content="webkit|ie-comp|ie-stand" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=640,user-scalable=false" />
    <title>泛兰士手机版</title>
    <link href="/mobile/css/style.css" rel="stylesheet" type="text/css" /><!--通用样式-->
    <link href="/mobile/css/toastr.min.css" rel="stylesheet" type="text/css" /><!--toastr-->

    <style>

    </style>

</head>

<body>


<div class="fls_bg">
    <div class="fls_top">
        <a href="{{ route('index') }}"><img src="/mobile/images/topimg_03.png" class="logo"/></a>
        <a href="{{ route('index') }}"><img src="/mobile/images/topimg_06.png" class="fangzi"/></a>
    </div>
    <form action="{{ route('record.storeFast') }}"  method="post">
        {!! csrf_field() !!}

        <div class="sq_box">
            <input placeholder="您的姓名" name="name" class="sq_input" value="{{ old('name') }}"/>
        </div>
        <div class="sq_box">
            <input type="radio" value="1" class="radio" name="sex" checked/><span>男</span>
            <input type="radio" value="0" class="radio" name="sex"/><span>女</span>
        </div>
        <div class="sq_box">
            <input placeholder="贷款金额" name="fee" class="sq_input1" value="{{ old('fee') }}"/>
            <p>万元</p>
        </div>
        <div class="sq_box">
            <select name="time_limit">
                <option value="">请选择贷款期限</option>
                <option>12-36个月</option><option>5年</option><option>10年</option><option>20年</option><option>30年</option>

            </select>
        </div>
        <div class="sq_box">
            <input placeholder="您的手机号码" name="mobile" class="sq_input" value="{{ old('mobile') }}"/>
        </div>
        <div class="yzbox">
            <p>短信验证码</p>
            <div class="yanzhengma">
                <input placeholder="" name="code" style="border:#e2e2e2 1px solid;"/>
                <button type="button" class="codebtn checkcell" id="getCode">获取验证码</button>
            </div>
        </div>
        <button class="bigbtn subBtn" style="margin-top:40px;">申请贷款</button>
    </form>
</div><!--fls_bg-->
</body>

@if(!empty($errors->first()))
    <script>
        window.alert('{{ $errors->first() }}');
    </script>
@endif

@if(session('error'))
    <script>
        alert("{{ session('error') }}");
    </script>
@endif

<script src="/mobile/js/jquery.js"></script>

<script src="/mobile/js/sendcode.js"></script>
<script>
    var smsUrl = "{{ url('sms/send') }}"
</script>
</html>
